So till now we have learn basic algebra and optimisation technique. Now we can proceed with our first…