hopefully this helps these are both methods of prime factorisation the answer is 2⁹ on both if you don't understand any please let me know I will explain!
I hope this helps :)