If for example you have g square x g cube, all you have to do is add up the potencies and put them in the same base, so in this case it will be g5. in the case of dividing potencies all you have to do is take away the exponentials, leaving for this example g-1.