"Alikuwa amefanya kazi"
Translation:He had done work
No, that actually has a very different meaning actually. It means that he caused someone else to do work.
I had waxed my legs. = I waxed my legs ... but in past perfect.
I had my legs waxed. = I had someone wax my legs. = Somebody else waxed my legs for me (and I made that happen).