The perimeter of a pentagon is 94 yards. The sides measure 10 yards, 15 yards, 22 yards, 30 yards, and n yards. What is the measurement of the fifth side?