By using rule of thirteen,
For m/z = 360,
Base formula = C27H36
For 2 primary amide, C23H24N2O2
For 4 primary amide, C19H12N4O4 or C18H24N4O4 (DBE = 9)
For 6 primary amide, C14H12N6O6 or C13H24N6O6 (DBE = 5)
For 8 primary amide, C9H12N8O8 (DBE = 8 )
You can try to think from this similar step...