Process costing Fifo vs Weighted Average

I'm having trouble with this concept. I understand step 1 Fifo is Beg WIP*(1-%complete) +(units completed -Beg WIP) + (Ending WIP* % complete)=Equivalent units. Weighted average is the completed product during the period+(ending WIP *%complete)=Equivalent units. I can find Eq. units but struggle at the step below. It seems like in most problems the current and beginning costs are plug numbers. step 2 is to calculate cost per unit Fifo current cost/Eq units=cost per unit Lifo (Beg cost + current cost)/Eq units=cost per unit Is this correct? Also what is considered beg and current cost? materials DL, DM? This has got me confused. What am I missing?