this is basicallly backwards multiplication where we have to continue until we have only prime numbers left
7 times 4 is 28
7 is prime but 4 is not
2 times 2 is 4
so the prime factorization for 28 is
2 x 2 x 7
all 3 numbers are prime and multiply to equal 28