The distance between an object and its twice magnified real image for a convex lens is 45 cm. find the focal length of the lens.