Use both of those points twice to frame the rectangle, and that is the size of the tee box. Of course, this means that the tee box isn't the same size on every hole, from every set of tee markers.