A curve y=f(x) passes through the origin and lies entirely in the first quadrant. Through any point P(x,y) on the curve, lines are drawn parallel to the coordinate axes. If the curve divides the area formed by these lines and coordinate axes in m:n, find f(x) .