You did not make clear the question, revise and I will help you!
If I where to take a guess, it would be B since the lines are exactly the same.
Happy birthday have a great day today
Given:
FG=5x+2
GH=3x-1
FG=9
Let us draw the line segment as follows,
Equating the length of FG, we get,

Substitute the value of x in the given value of GH,

And the total length FH is,

Hence, the lengths are,