Hand 1:

Raise the flop. Don't flat.
Raise the turn. Don't flat.
River, meh. He coulda got there with a backdoor with Kxs so I don't know if I like shipping it. Maybe just flat the river. Shouldn't be too hard for you since you seem to like to flat on flop and turn .

But in all seriousness, get your value on flop and turn, those are your money streets. You don't want to be shipping it on the river with two pair when the guy could have pretty much anything, and that includes things that beat you lol.

Hand 2:

I don't hate the call PF, like you said you had pretty good pot odds, but NEVER call the flop shove/reraise/cold call with just TPGK. With your hand you don't want to play it for top pair in a multi way pot. You should have been looking to flop straight/flush draws, two pair, etc.

Check/fold the flop.
Fold the turn.
River is fine .