In question #10 of the backsolving chapter : in the xy plane, a line containing the points (a, a^3) and (10,40) passes through the origin. Which of the following could be the value of a?

I found the explanation in the answer key to be too time-consuming if I were to solve the equation with backsolving. Can you explain how to solve this question algebraically instead?