Answer: A) 3
=========================================================
Step-by-step explanation:
Let's say there are 216 machine parts that need to be made. I'm using this number since 12*18 = 216. Refer to the note at the bottom.
If person A works alone, then they can make those 216 parts in 12 days. Person A's unit rate is 216/12 = 18 parts per day.
Person B, working alone, has a rate of 216/18 = 12 parts per day.
If they work together without hindering one another, then their combined unit rate is 18+12 = 30 parts per day.
Working together for 6 days leads to 6*30 = 180 parts made so far. That leaves 216 - 180 = 36 parts left over for person B to finish up.
Since person B does so at a unit rate of 12 parts per day, this means person B needs 36/12 = 3 extra days.
--------------
Side note: There's nothing special about the value 216 I picked. I only selected that value so that dividing over 12 and 18 led to whole number results. You could pick the LCM of 12 and 18 to get the same idea.