The opposite corners of a square carry Q charge each

The opposite corners of a square carry Q charge each and the other two opposite corners of the same square carry q charge each. If the resultant force on q is zero, how are Q and q related?