One number is six more than five times another number. If the sum of the numbers is 24, find the numbers.

Let the two numbers be a and b:

a = 5b + 6

a + b = 24

Replace a in the second equation using the first equation, then simplify to find b. Substitute b back into the the first equation to find a.

Can you take it from here?