Often times when I'm stuck on a math problem, I find it immensely helpful to consider a smaller/simpler version of the problem, to help me get a feel for what's going on. Then I can attempt to scale my methods up to the real problem and see if it works the same (it usually does).
So consider how you might tackle the problem if asked about 18 = 2 * 32. What are all of the factors of 18? If you factorize them into primes, what do you notice? Also try writing them but including the zero powers (i.e. 3 = 20 * 3). Does that change what you noticed? Now maybe try the problem with 108 = 22 * 33. Repeat the same process, writing down all of the factors of 108 and writing as products of primes. What do you notice? Does this fit with what you noticed about 18? Finally, do the same for 360 = 23 * 32 * 5.