Question

Difficulty: MediumSystems of Linear Equations

A startup hired two freelance software developers, Developer A and Developer B, for a combined total of 4545 hours on a single project. Developer A charges $65\$65 per hour, and Developer B charges $80\$80 per hour. If the total amount paid to both developers was $3225\$3{}225, how many hours did Developer A work on the project?

Answer: 25 hours

Answer

Developer A worked on the project for 25 hours.
Let xx be the hours Developer A worked and yy be the hours Developer B worked. From x+y=45x + y = 45, we get y=45xy = 45 - x. Substituting into 65x+80y=322565x + 80y = 3225 yields 65x+80(45x)=322565x + 80(45 - x) = 3225. Expanding gives 65x+360080x=322565x + 3600 - 80x = 3225, which simplifies to 15x=375-15x = -375, so x=25x = 25.

Step-by-Step Solution

1
Set up a system of linear equations representing the total hours and total cost.
x+y=45x + y = 45 and 65x+80y=322565x + 80y = 3225, where xx is Developer A's hours and yy is Developer B's hours.
Translating the verbal conditions into mathematical equations.
2
Express yy in terms of xx from the hours equation.
y=45xy = 45 - x
Prepares the linear system for substitution.
3
Substitute y=45xy = 45 - x into the total cost equation and solve for xx.
65x+80(45x)=3225    15x=375    x=2565x + 80(45 - x) = 3225 \implies -15x = -375 \implies x = 25
Solves for the requested variable xx directly.

Key Concept

Solving word problems using 2x2 systems of linear equations via substitution or elimination.
Rate this question