Flat is a synonym of Uniform. Uniform is related to Servant. Servant is related to Mansion. you are likely to find Study in/at/on Mansion. 
Planning is related to Design. Design is related to Shape. 
Flat <--Synonym--> Uniform <--RelatedTo--> Servant <--RelatedTo--> Mansion <--AtLocation-- Study 
Planning <--RelatedTo--> Design <--RelatedTo--> Shape 