Put one’s mind to (something)

To give one’s complete attention to something.

The boy can do anything if he puts his mind to it.