Be sure to recognize that for a rectangle the base and height are the two sides of the rectangle, whereas for a parallelogram the base is one side of the parallelogram but the height is the altitude drawn to that base from the opposite side.
Note that once a side is chosen as the base, b, the altitude to that base is the same length no matter whether it falls within the parallelogram or outside it, as can be seen in Figure G.58.