Don't just learn the equations. Learn the principles behind those equations. You will always have conservation of momentum in any collision. For elastic collisions energy is also conserved. This will give you enough info the solve any collision problem, in principle anyway.
Thanks for the reply galileo and jtbell. I have done a little reading on conservation of momentum and energy. I also search the internet for the equations and the theories involved in collisions. However i could only find 1D equations.
I would appreciate it if you could point me to any information that could help me to better understand it. I would also like any information on 3D collisions as well. The reason i'm trying to get this information is to write a computer program that simulates collisions.