A rectangular floor tile is 24 cm long and 18 cm wide. How many floor tiles do you need to make a square with this kind of floor tile

A rectangular floor tile is 24 cm long and 18 cm wide. How many floor tiles do you need to make a square with this kind of floor tile

It should be to find the least common multiple of 24 and 18, 12 blocks, 18x = 24y, and the lowest front edge of X * y value is an equation parabola or something