FIFO clarification

Hi guys, My book is contradicting itself on the formula for the EU: I've been using this one I memorized: Beg. WIP x % Completed +Units Completed - Beg. WIP +End. WIP x % Completed =EU but ... when I got to this one problem it's doing a different way... dunno if I'm just not thinking straight... Completed Units +EU in Ending Inv. -EU in Beg. Inv =EU It doesn't come up with the same answer and it's getting too confusing. Can anyone please clarify? Thanks!!