Machine A
Number of cups filled in 1 hour = 60
Number of cups filled in 1 minute = 60 ÷60 = 1
Machine B
Number of cups filled in 20 minutes = 40
Number of cups filled in 1 minute = 40 ÷20 = 2
Machine B fills more cups in a minute.
Total cups filled by both the machine in a minute = 2 + 1 = 3
Total cups filled by both the machine in 1 hour = 3 ×60 = 180