Two numbers have a sum of 47 their difference is 5. What are the two numbers?

a + (a + 5) = 2a + 5 = 47

a is the smaller number.

Solve for it