I know how to solve fractions with negative exponents
but what happens when there's constant in the numereator
and/or the denominator.
However, all terms in both the numerator and denominator are multiplied, so they are all factors.
Do you mean if you had terms combined by addition or subtraction instead of multiplication?
Then you try to factorise if possible.
If you are more specific,
someone can help you with an another example, if you post one.