I am going to solve the problem by using some simple calculus to get the required result of the given problem.
Step by stepSolved in 3 steps with 1 images