First trade lost 40k, second trade was a forced one to recover the loss, which lead to further loss.
Thank God that you lost in thousands and if you commit such mistakes when your account grows , the loss will be in lalks....so think positive form a bad situation and improve.
Smart_trade