Put x=y=t (t>0). We get
4f(t)≤f(2t),f(2t)≥4f(t),
for all t>0. Hence f(2t)=4f(t), for all t>0. By induction
f(2mt)=22mf(t), for all t>0.
Let g(x)=f(x)/x, x>0, g(0)=0. We show that g(nt)=ng(t) for all n∈N and t≥0. We have proved this for n=2m. We observe that g(x+y)≤g(x)+g(y) for all x≥0, y≥0. Hence by induction g(nt)≤ng(t) for all n∈N and t≥0. Choose m such that 2m−1≤n<2m. Then
2mg(t)=g(2mt)≤g(nt)+g((2m−n)t)≤ng(t)+(2m−n)g(t)=2mg(t).
Hence equality holds and g(nt)=ng(t).
Next we show that g is a non-increasing function. We have
f(t)+f(2t)≤2f(t+2t)=2f(3t).
Hence
tg(t)+2tg(2t)≤(3t/2)g(3t).
This gives
g(t)+4g(t)≤(9/2)g(t).
Hence g(t)≤0, for all t≥0. Thus for any 0<x≤y, we have
g(x)≥g(y)+g(x−y)≥g(y).
Hence g is a non-increasing function.
Let g(1)=a≤0. We show that g(t)=at for all t>0. Suppose g(t)<at for some t>0. Choose positive rational p/q such that (p/q)>and g(t)<a(p/q). But g(nt)=ng(t) for all n∈N. Hence
g(qp)=qpg(1)=qpa.
Hence
g(t)≥g(qp)=qpa,
a contradiction to g(t)<a(p/q). Similarly we can show that g(t)>at is also not possible. We conclude that g(t)=at for all t>0. This gives f(x)=ax2, where a≥0. It is easy to verify that this gives indeed a solution to our equations.