Nice work Zacismyname!!!
But is it possible that there is a couple of brackets missing?
(5×x+2)2=4×x−2 multiplie all terms with 2 in order to remove the denominator on the left side.
5×x+2=4×x−2 get all x to the left side and all terms without x on the other side.
(5×x+2)−4×x−2=(4×x−2)−4×x−2
Good luck