An angle is named by naming a point on one ray, the vertex, and a point on the second ray. Thus the linear pair is on line PC. A is somewhere between P and C on the line. M is a point above the line with AM ray going from the line to M. The angle MAP contains rays AM and AP. The angle MAC contains rays AM and AC.
A line has 180 degrees between its ends. Thus the sum of the degrees of the two angles is 180. Angle MAP + Angle MAC = 180. By substitution 7x-13 + 3x+13 = 180.
Combine terms to have 10x = 180. Thus x is 18.
The measure of angle MAP is 7(18) -13 or 113 degrees and the measure of angle MAC is 3(18) + 13 or 67 degrees.