Due date calculation

Ha

I had an early miscarriage at 6 weeks. And the test went from positive to negative. And as of today it is positive again. How would I calculate my due date