In proble 1 you are trying to find the area of the right triangle and for problem 2 you are trying to find the area for the irregular trapizoid.