Can someone please tell me how to get from that to that? Is it factorization or something? I’m really dumb

They multiplied the 4's to get 16.
For the X part, 1 of the X's got cancelled out.
So like this:
X divided by X² would leave you with an extra X.