The problem itself is not right. It is hard to interpret, much less to attempt if you don't indicate what you are supposed to do with it (simplify, order in decreasing powers, ...). The part indicated in bold is ambiguous. Is X the same as x?
If -X62 is meant to be -x^2, and X is the same as x, then the expression can be simplified to:
x² -4x +3/x^2 +3x -18 -x² -1/x^2 +10x +24
Order in decreasing powers of x, and group like terms (terms with the same variable raised to the same power):
x² -x² -4x +3x +10x -18 +24 +3/x^2 -1/x^2
which when like terms are added (or subtracted) gives:
9x +6 +2/x^2
x^2 minus 4x+3 over x^2 olus 3x-18 -x^2-minus 1 over x^2 plus 10x plus 24 =
Wouldn't it be simpler if parentheses are used?
(x^2-4x+3)/(x^2+3x-18) - (x^2-1)/(x^2+10x +24) = ?
This problem can be solved the same way one would solve
=23/(3*8) - 13/(3*5)
Now here's the parallel, assuming you have learned to factorize quadratic expressions.
First factorize the numerator and denominator of each term:
(x^2-4x+3)/(x^2+3x-18) - (x^2-1)/(x^2+10x +24)
=(x-3)(x-1)/((x-3)(x+6)) - (x+1)(x-1)/((x+6)(x+4))
Notice that there is a common factor of (x+6) in the denominator, so the common denominator is
and the numerator would then be
Again, since each term of the numerator has the common factor of (x-3)(x-1), we can group the terms to simplify the numerator:
Now we write out the whole expression:
and cancelling out the common factor (x-3), we get
Either leave that as is, or you can multiply out to give