Unless I'm missing the intentionally leading part, this should be 1/G for A at the 2.
When the ball is snapped on or inside the Team B 17-yard line and outside the Team B two-yard line, and the spot of the foul is on or inside the two-yard line, the penalty from the previous spot shall place the ball at the two-yard line, first down (A.R. 7-3-8-XIV).