What you need to do is figure out Aiden's (A) and Noah's (N) costs a function of number of classes taken:
Let x = number of boxing classes
A = 30 + 2x
N = 5x
Their costs are equal when A = N, so set the two equations equal to each other and then solve for x:
30 + 3x = 5x
30 = 2x
x = 30/2 = 15
When they've taken 15 boxing classes, their costs are the same. Beyond 15 classes, Aiden's cost will be LESS than Noah's, and for any number less than 15 classes, Noah's cost will be LESS than Aiden's.
Mathhelper made a mistake.
It actually takes 10 classes for their total cost to be the same.