Calculate the position of an object placed in front of a convex mirror having focal…