Pls help and if you can show me how you do it :)

Find the number less than 40, that is
divisible by 5, and when divided by 6
has a remainder of 2.