My 2 cents as a noob... The way I see it you have three options:
1. End the relationships entirely, no friendships, romances, or acquaintances with either of them. -But this is not something you seem to desire as you care for both persons and want to be with them.
2. Carry on as you have been...