# Calculating the position of an object given object's initial position and velocity influenced by given acceleration vectors

The red circle is being pulled by two gravity points. Assume that the red circle has a given position (x,y) and a given velocity (vx, vy).

I need to calculate the velocity and position of the red circle at time (t) given these two gravity points [(x.a1, y.a1) and (x.a2, y.a2)] with both of them having a force (G) that will act upon the red circle. Assume that the gravity points will be stationary.

I can't assume anything is located at origin unfortunately :( Any help is greatly appreciated! Tried solving this on my own and I came up with the equation below - but this is assuming that the gravity point is at origin and doesn't account for multiple gravity points as well.

• Why are you using $g=9.80$m/s$^2$? That's not part of your statement. – Bill N Jun 17 at 17:20