It would be...
(18 +28) divided by two
then take that and multiply it by the height - 5
the 6 in this equation doesn't matter because it is not the height of the shape