A convex lens produces an inverted image magnified three times of an object placed at a distance of 15 col from it. Calculate focal length of the lens.