let L = building length

W = building width

LW = 1800

land area = A ...

A = (L+20)(W+10)

use the first equation to solve for L in terms of W (or W in terms of L ... it doesn't make a difference) and substitute into the second equation to area in terms of a single variable.

take the derivative and minimize.