A 10-sided polygon has 4 sides each of
length p inches and 3 sides each of length
4p inches. The lengths of the other 3 sides
are 10 inches, 12 inches, and 4 inches. If
the perimeter of the polygon is 138 inches,
what is the length of the longest side of the
polygon?

E. 7 inches
F. 10 inches
G. 12 inches
H. 28 inches