YEah hand 1 you can fold caus at worst he had like AcJc and you flip and you trail the rest of his range. Shoving isn't horrible though (top boat outs baby)

Hand 2 This is an easy turn bet. If you think he has trips just bet a lot and he'll either call or raise. Either way it lets you get it in on the river whereas if you check and then overbet the river your hand looks uber strong.