Two mechanics worked on a car.
Now, mechanic 1 has spent 5 hours working on the car.
Mechanic 2 has spent 15 hours working on the car.
Lets say mechanic 1 charged 'x' dollars per hour and mechanic 2 charged 'y' dollars per hour.
So,
[tex]5x+15y=1575[/tex] that is our first equation ( 1 ):
And,
[tex]x+y=155[/tex] that is our second equation ( 2 ):
Using the two equations we can solve for 'x' and 'y', using our first equation we get:
[tex]x+3y=315[/tex]
[tex]x+y=155[/tex]
On solving for 'x' and 'y' we get:
[tex]y=80[/tex]
and putting the value of 'y' in the equation 2 we get:
[tex]x=155-80=75[/tex]
As mentioned earlier, 'x' represents the charge that mechanic 1 charged per hour and 'y' represents the charge that mechanic 2 charged per hour.
We have [tex]x=75[/tex] and [tex]y=80[/tex].
So, the mechanic 1 charged $75 per hour and mechanic 2 charged $80 per hour.