Guys I think I messed up

So I got new parts to upgrade my hp compaq 8000 and I don't think the psu will handle it. 2 8gb Silicon Power RAM sticks: 1.35v i7-3770: about 60w-80w or something like that Rtx 3050 oc 6gb: 70w, a 300w psu is recommended but I have a 240w one The hdd it already has pulls about a max of 25w The mother board is the 3397 and idk how much that pulls. I bought a stock heatsink with a fan, but now I'm going to just use the heatsink that's already in there to avoid ramping up usage. I know I can upgrade the psu but there's only on problem with that. The hp compaq that I have has this weird shaped psu and I have no idea what to replace it it with. Should I take the hdd out and replace it with an ssd? Is there a psu I can use that has this weird shap? Do I even have to worry about this, will this build be ok? The things I plan on doing with this pc is 1080p video editing in shotcut, rlcraft on low graphics and othe mc mods, playing gmod, modded swbf2 classic, games I can't play on my Xbox like spiderman and lethal company, and photo editing for thumbnails.