Protip: You should rename A1 and A2 to be more descriptive of their purpose. In other words, if they're coordinates, you should name them something like AX and AY.
Also, if you mean an easier way to modify the Y-coordinate when jumping, you can aid yourself with a bit of physics.
I'm not sure, but I think most schools start teaching free fall physics at around 10th grade.
You'll need to use concepts such as velocity and acceleration. You could program the jump as an increase in upwards velocity, making the object go upwards until the acceleration turns the velocity downwards.
Of course, this is only my approach. You could probably use easier methods for jumping, but I think using physics is the most realistic way to make jumps.