>>716460151
There are multiple ways to solve this but pic related is how I did it. The easiest way would be diagonal inheritance though, but I don't think it's possible to realize that without already knowing the answer