Write an equation for this scenario and solve.

Diego scored 9 points less than Andre in the basketball game. Noah scored twice as many points as Diego. If Noah scored 10 points, how many points did Andre score?