The sum of cubes of two numbers is 280. If the numbers are in the ratio 2:3, find the smallest number.