Mr martins math test which is worth 100 points has 29 problems. Each problem is worth either 5 points or 2 points.
Let x be the number of questions worth 5 points and let y be the number of questions worth 2 points.
x+y=29, 5x+2y=100