Please help me with this geometry question:((

Answer:
x = 13
Arc RQ = 180°
Step-by-step explanation:
PEQ is an inscribed angle and the measure of an inscribed angle in a circle is equal to half of the arc it sees.
The perimeter of a circle is always 360° therefore
2 × (5x + 15) + 9x + 17 + 6x - 12 = 25x + 35 = 360°
25x = 360 - 35
25x = 325
x = 13
Since arc RQ is equal to 10x + 30 we replace x with the value we just got
10×13 + 30 = 160°