we can simply get the area of the whole rectangle, that is, the rectangle including the triangle in it, and then get the area of the triangle and subtract it from that of the rectangle, what's leftover, is the part we did not subtract, namely the shaded region.