Jonathan needed to get his computer fixed. He took it to the repair store. The technician at the store worked on the computer for 3 hours and charged him $141 for parts. The total was $336. Write and solve an equation which can be used to determine x, the cost of the labor per hour.

Let x be the cost of the labor per hour.

The technician worked for 3 hours, so the cost of the labor is 3x.
The total cost was $336, so we can write: 3x + $141 = $336
Subtracting $141 from both sides, we get: 3x = $195
Dividing both sides by 3, we get: x = $65
Therefore, the cost of the labor per hour is $65.