Think up some incredible scheme which involves you using your ex to gain the like of her friend who will think that you think that your ex-girlfriend thinks that you think that she thinks that you think that you still like her, and so then when she thinks that you can get her to sleep with you.
Simple logic, really.