Answer
This is a hands-on demonstration.
a = F/m.
The net force on each object is proportional to its mass, so the ratio is the same.
In conclusion, for each case, the accelerations are the same, so the objects will move in unison. Try it and see!