By the law of cosines, the angle

satisfies

which reduces to

which converts to approximately 77 degrees (this can be done my multiplying by 180 and dividing by pi).
Let 'c' represent the number of points Carlos scored.
2c - 7 = 31
c = 19 points
This is a good question... but is there multiple choice, i want to know if my answer matches