Go to the net and find a free book: "Digital Signal Processing" by Steven Smith. Then go to chapter 6. That chapter includes a step by step discription of what you have to do. If you have more question after reading that, then ask.