When I input this into wolfram and click on step by step solution, the next step looks like this:

so I assume the step they did was to multiple the numerator of the first fraction by the denominator of the second giving and then joining the and

If this is true then does this apply to every fraction of this type?

So my next move would be to multiple by each term in the brackets? I don't get what to do next. Fractions really suck