Jeff Handy
Pro Handyman, NOT A Pro Plumber
If you have that design, which is likely, you can unscrew or carefully saw and peel away the old trap, leaving the threads of the nipple from the tee mostly undamaged.
Then screw on a slip joint trap adapter, then a new P trap kit.
Then screw on a slip joint trap adapter, then a new P trap kit.