So since he charges $45 for the FIRST hour and there is four hours he only charges $45 for that first hour. And the rest of the time he charges $30 and he has three hours left it would be
30×3 then add the $45 from the first hour
30×3+45= 135 $135 in total