The whole shape is a quadrilateral so total internal angle is 360 degrees. There are 2 right angles so -180 degrees. The final 2 angles must add to 180 degrees.
Let PKH and GKP = y
GPK + KPH = GPH = 32x + 20
KPH + PKH = 90 because KHP = 90 degrees and a triangle has 180 degrees.
Lower triangle:
14x + 15 + y = 90
14x + y = 75
Whole quadrilateral:
360 - 180 = 180, angle of remaining two angles which aren’t right angles.
GPH + GKH = 180
32x + 20 + 2y = 180
32x + 2y = 160
16x + 2y = 80
14x + y = 75 — y = 75 - 14x
16x + y = 80
Substitute y = 75 - 14x into 16x + y = 80
16x + 75 - 14x = 80
2x = 5
x = 2.5
Substitute x = 2.5 into 16x + y = 80
16(2.5) + y = 80
40 + y = 80
y = 40
Test x and y with lower triangle
14x + 15 + y + 90 should equal 180
14(2.5) + 15 + 40 + 90 = 180
35 + 15 +40 + 90 = 180
It’s true: x = 2.5
KPH = 14x + 15
14(2.5) + 15
= 50 degrees