Adapt the exercise to your class.
Calculation triangles with sums or products – find inside or outside values.