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.