I think you played it fine, of course there are other ways of playing the hand but checking back the turn is fine as when you bet you fold out all random floats and Tx raises, forcing you to fold. Checking back also allows him to bluff at the river with aforementioned random floats.

It's also hard to get any value out of shitty draws on the turn.

The call on the river is fine as well, obviously opponent dependant though.

Preflop: First of all while being OOP and having 2 guys in the pot I would 3bet it even bigger ~$1,50.Postflop: But otherwise without even knowing the opponent Bet the turn for protection and free showdown, we can't really Check the turn and then hope that he bluffs or guess if he is even bluffing or not. Plus the K isn't the greatest card either for us while it completes some of the draws.