I've found the solution.
define , then G(x) is continous nonnegative function, and .
w.l.o.g, suppose G(x) assume its maxmum at the point t in (0,1).
For the closed interval [0,t]:
define ,then F(x) is a increasing continous function on the interval.
Define ,then H(x) is the function we need on the interval [0,t].
Do the same things similarly to the interval [t,1], We are done.
let S be the colletion of points which lies in the closed area formed by four curves: x=0,x=1,y=0,y=G(x).
Find the Closed convex hull of S, then prove that the boundry defines a function we need.(this is the geometry explanation of method one).