Basic function drawing and solution:
solution and graph(if possible) of the question in attachment
