The first one x=3 and for the second one x=2.
You can mark them brainliest ^^ just wanted to answer so you could.