I answer this question before this is the solution just change the total of $2750:
Two mechanics worked on a car, The first mechanic worked for 20 hours and the second mechanic worked for 5 hours together they charged a total of $1150.
Let's make, mechanic #1's rate = x mechanic #2's rate = y
* Their rate is dollars per hour ($/hr)
mechanic #1 worked for 20 hours (hr × $/hr = $) 20x = money earned by mech#1
and mechanic #2 worked for 5 hours 5y = money earned by mech#2
together they charged a total of $1150. So the amount of money earned by both mechanics.
20x + 5y = 1150
the sum of the two rates was $95 per hour.
x + y = 95
which means x = 95 - y
plug (95 - y) in for "x" in the other equation to get everything in terms of one variable.