Let f: R → R and g: R → R be defined by f(x) = x^2 and g(x) = x + 1. Show that fog ≠ gof.