In triangle ABC, angle A = p + 2q degrees, angle B = 6p - 5q degrees, and angle C = 14p + 8q degrees. Find p (in degrees) in terms of q.