No, there is not enough information. Prove this by finding a counter example to the claim that there IS enough information.
Find two function whose integral from 0 to 1 is 2. But whose integrals of their squares are different.
One obvious choice is
I leave it to the students to find another function