Let's say team B has x points. That means that team A has x+12 points, or 5x points, as mentioned in the question. If the points that Team A has acquired can both be represented as x+12 and 5x, then these values are equal and solved for 'x':
x+12=5x
Minus x on both sides
12=4x
Divide both sides by 4
3=x
So, Team B (x) has 3 points, and Team A (x+12 or 5x) has 15 points.