I failed one portion of the LA exam. Do I have to retake both sections

No. You can retake just the section that you still need to pass, but you’ll pay the full $85 exam fee. Keep in mind for your license application that any passing scores are only valid for (1) year from your initial test date.