I'm not expert. I'm sure that some of the better players will offer good advice.
My thoughts though, first of all you aren't really using ranges are you ?
The first hand you couldn't really have played much worse in my opinion. I think I would have folded after the BB Squeeze.
Second hand, there is a good article in the beginners digest called something like, you can't make someone fold.