A partitioned pen is constructed with a total 168 feet of fencing. If the perimeter measures 138 feet, then find the dimensions of the pen.