Answer:
X=3
Step-by-step explanation:
The work is shown above. It just makes it easier rather than typing it out. Hope this helps!