1999 Ford Mustang gt rack and pinion?

I have a 1999 Ford Mustang GT with a rack and pinion problem. It was in an accident before I got it. The wheel had been snapped pretty bad. The guy had his wheels turned to the right when he hit a curb. And when he hit the curb the k-member, lower control arm, tie rod(inner), knuckle and spindle. What I didn't know was that when the tire hit the curb and bent all that. It looks like it pulled part of the rack out on the rack and pinion. I checked both sides of the rack. And the side that got hit, looks like it's pulled out a little bit. Do I need a new one. Or is it fixable?

If the rack is broken or bent you'll need a new one. (You bought a car with damage like that?