At Bodog 10nl the way you played Hand 1 is fine because they can't lay down top pair or most 8/9 out draws the vast majority of the time. However, it's not like this in most places.

Hand 2 is a fold. I think.