A second number is six more than half on the first number. The sum of the two numbers is 42. What are the 2 numbers?

I have already done the formula

S=6 + .5F

but I can't figure it out from there. Thankyou!