Magnet Design of a Prototype Structure for the X-ray FELs at TESLA