You won’t be able to do this effect in Motion as it lacks (pardon the pun) motion tracking. You would need to use a program such as After Effects, Shake or Combustion to do this. A plug-in may be available for Motion to do this, but I am not aware of any.