x^2/x+3 - 5/x+3=0

*Please solve the rational equation

Your non use of parenthesis is annoying and most confusing.

I assume you meant
x^2/(x+3) - 5/(x+3)=0

multiply both sides of the equation by x+3, and solve.