If you divide using polynomial division you get the first picture
If you divide using synthetic division you get the same answer because if you set up the synthetic division using the coefficients of the numerator and the root in the denominator. Divide using the rules for synthetic division.
You cannot solve for x because nothing further can be done with topic