I need help with this word problem! its introductory to Algebra. Help!!!

Let x = the number of hours that Ryan works on job A. Since Ryan works 25 hours total, the number of hours he works on job B is 25 - x. We want:

x*($6.50) + (25-x)*($6.90) = $167.70

(6.5)x + 172.5 - (6.9)x = 167.7

-(0.4)x = -4.8

**x = 12 hours on job A**

So Ryan works 25 - 12 =

**13 hours on job B**