Both are folds, but betting river in hand 1 without a strong read at this level is horrible imho. The only hands you beat that villain can call with are played weirdly, and also require villain to put you on air (which is hard as you bet 3 streets).
Apart from that i think you played both hands fine though.