Let h = the height of the taller building:
14 m h
-------- = -------
16 m 24 m
Solve for h.
------------
Geometrically, you can compute the scale factor of the two similar figures by taking the ratio of their shadows (larger to smaller):
Scale Factor = 24/16 = 3/2
The taller building will thus equal the height of the smaller building times the scale factor:
h = (14 m)*(3/2) = _______