The answer is 5 potatoes and 10 carrots.
Please enter this into desmos.com/calculator (a virtual graphing calculator that is awesome) and the x-intercept will be your answer.
Simply enter
into one equation and
into another equation. The x-intercepts are your answers, so
= 5 and
= 10.