Algebra Examples

Graph f(x)=x^2+1g(x)=5-x(f+g)x
I am unable to solve this problem.