The solution process is shown in the above four screenshots.
The four questions you uploaded all belong to the combination of factorization, squar