Accenture Interview Question

How to handle multiple frames