Answer :
First, let's find the area of the rock, it will be
[tex]A_R=4\cdot10=40\text{ ft}^2[/tex]If he uses 8 gallons to paint 40 ft^2 then with each gallon he can paint
[tex]\frac{40}{8}=5\text{ ft}^2\text{ per gallon}[/tex]Now, let's find the area of the wall
[tex]A_W=16\cdot40=640\text{ ft}^2[/tex]Therefore he will need
[tex]gallons\text{ = }\frac{640}{5}\text{ = 128 gallons}[/tex]Wile E. Coyote will need 128 gallons to paint the new wall