How to factor these two problems?

Printable View