If I recall, your Focus has a Mcpherson strut front suspension
You only have lower ball joints, and they aren't load-bearing
That doesn't mean they can't wear out, though
I agree with the others . . . inner tie rods on a rack and pinion set up usually last far longer than the outer tie rod ends
Is the bellows torn?
My advice is to replace just the outer tie rod ends, get a steering alignment, and then get the car re-inspected
I'm saying that, based on the fact you failed for worn outer tie-rod ends
I can't advise you on what else may be worn out, because none of us except you and the inspector are able to lay hands on the car