The structure of Xiao Li's family is shown in the figure. Xiao Li is going to lay wooden floors in the bedroom and living room. Please help him figure out how many square meters of wood he needs to bu

The structure of Xiao Li's family is shown in the figure. Xiao Li is going to lay wooden floors in the bedroom and living room. Please help him figure out how many square meters of wood he needs to buy at least. The living room area is 4b× 2a = 8ab.

The area of the bedroom is 2a× 2b = 4ab.

So the building area to be bought is: 8ab+4ab = 12ab.

A: Xiao Li needs to buy at least 12ab square meters of floor; If the price of the wood floor he chooses is m yuan/m2, then the amount of money needed to buy the required wood floor is 12 ABM.