How many planks does it take to make the smallest square with a rectangle 12cm long and 8cm wide?

How many planks does it take to make the smallest square with a rectangle 12cm long and 8cm wide?

The least common multiple of 12 and 8 is 24
So at least (24 △ 12) × (24 △ 8) = 6 pieces