NEED Arduino and basic wiring help!!

I have two 24V.DC 2.9amp electromagnets that will be positioned on opposite sides of a track with a model car on it, and when the car comes around, I would like to have a photo-gate that is placed in front of the electromagnet set turn the electromagnets on and a photo-gate that is placed after the electromagnet set turn the electromagnets off. What are the parts I need to purchase in order to do this, and how do I set them up to do so?

Thanks, Will

I don't think I see an arduino connection, just some FETs