PersonX dates PersonY's girlfriend
to continue dating to be bad to move in together to get married to keep dating Person Y's girlfriend a secret. to get Person Y's girlfriend to become their girlfriend.