How to solve prime factorization of 180 & 420?