help with a question

x+2/x-4 + x^2 + 6
I am not certain how to solve this problem at all

multiply everything by (x-4)

==>
x+2 + x²(x-4) + 6*(x-4)=0
==>
x³ - 4x² + 7x -22 =0
==>
search for 'cardano method'

glhf