John is twice as old as Mary. The sum of their ages is 52. How old is Mary?

If J = John's age and M = Mary's age, which system of equations could be used to solve the problem?

2J = M and J + M = 52
J = 2M and J + M = 52
J = 2M and JM = 52