I’m stuck on this question if someone could help me I would highly appreciate:)

Answer:
q is the midpoint of pq and qr
so
pq=qr
or 6x-7=5x+1
or 6x-5x=7+1
or x=8cm length
is this helpful?