1. To paint 30% of a house takes 6 gallons of paint, how many gallons of paint are needed to paint the whole house?

A.9
B.12
C.18
D.20