A plumber charges a customer 60 dollars an hour plus the price of any parts needed to complete the work. If the total bill is 240 dollars and just the parts alone cost 90 dollars, how long did it take to complete the work.

4 hours

300 minutes

2.5 hours

6.17 hours