Answer:
x=7
Step-by-step explanation:
You can find the complete solution in the given attachment
I hope it helped you