the quadratic is irreducible.
So over the real numbers there is not a partial fraction decomposition.
Again fro the 2nd one both quadratic factors are irreducible we get that
Now multiply the LCD to get
Now expand everything out and collect all of the x's to get
Now equate the coefficients to get a system of 4 equations in 4 unknowns.