In the diagram above, JKL is a tangent to the circle GHIK at K.
∠\angle∠KGL = 87º (exterior angle of a cyclic quadrilateral)
∠\angle∠KGL + ∠\angle∠GLK + ∠\angle∠LKG = 180º
87º + x + 38º = 180º
x = 180 - 87 - 38 = 55º