Random Practice Exam Generator - NEC Chapter 9, Table 9

I was working on a question from the random practice exam generator, which references NEC Chapter 9, Table 9.

Question:

Solution:

My work:

It appears I got the correct values from the table, just used the incorrect formula from Note 2:

When should we use R cos (Θ)+ X sin (Θ) vs. the Ze=R x PF + Xl sin [arccos(PF)]?