Can you give an example of a "necessary" thing? You brought up the square having four sides thing, but that's not about existence.
Furthermore, why does a contingent thing have to depend on a necessary thing?
Furthermore, why does a contingent thing have to depend on a necessary thing?