Graph of function and composition and inverse functions