After you have allocated and apportioned the overheads to each production centre, you then absorb the total (for each production centre separately) on whichever basis is indicated in the question.
I do illustrate this in my free lectures on the allocation, apportionment, and absorption of overheads.