"lease accept this letter as my formal resignation letter from my existing position as (xxxxxxx your positionxxxxxxxx). My last day will be on (xxxx date xxxx), as I only require to provide 14 days advance notice as per my employement contract.
Thank you for your attention in this matter."
I don't know what job you do, some may want to thank your supervisor/manager for the assistance they provided to you before.