well... it is a complicated question but....
i think that 1 standard and÷ 3 deluxe............
that will be $33.
STANDARD= 12 - 2 is 10, and 8 - 2 is 6.
DELUXE= 10-9 is 1 HR, 6- 3 is 3 HR.
so.. you will be left with 1 hr of machine A, and 3 hr of machine b.