I had a great time solving the following question a couple of nights back. More so because I’d failed to solve this question in the past.

This question is completely unapproachable if you try to use algebra. However, generating simple examples helps.
Let me try and write down some solutions to : they are
Do you see a pattern? The answer becomes a two-liner as soon as you observe this.