Gwendolen in love with Rex in return would have made a much harder problem, the solution of which might have been taken out of his hands. 
Gwendolen in love with Rex would have made a much harder problem to solve. 