Let the floor space of the largest building is x and the floor space of the smallest building is y.
Then, given that


Substituting the value of x=3y from the equation (1) into the equation (2),

Therefore,

Hence, the floor space of the largest building is 2040 and the floor space of smaller building is 680 .