You need a system of equations. For the first statement, you should have y+8=x and for the second statement you should have 3y=x.
Then, you substitute the first equation into the second to get 3y=y+8. Solve for y and then substitute that value into y+8=x to find how many points school x has.