There's a good chance you lost both of those pots. But you played it fine. both of those hands im pretty sure you got outdrawn by you opponent. hand 1 on the river you may find a fold.