to find the area of the shaded region we need to find the area of the rectangle and then substract the area of the triangle.