Looking for a solution – slightly convoluted problem

Looking for a solution – slightly convoluted problem