If one and a half boys, eat one and a half burgers in one and a half hours.

How many burgers can 9 boys eat in 3 hours ?

18

More hours => more burgers.
More boys => more burgers.

The time become twice (3 hours / 1.5 hours).
Boys become six times (9 / 1.5).

Number of burgers = 2 * 6 * Original(1.5)
= 18