During a basketball game, Kevin made a total of 14 shots. Each basketball shot is worth either 2 points or 3 points. Kevin scored a total of 34 points. Let a represent the number of 2 point shots and let y represent the number of 3 point shots.