Answer:
X=6 and the last one, I answered the other one, check it for explanation!
Step-by-step explanation: