Ron is an agari on a tile another player discarded.
Shimocha discarded 5-sou. Adding 5-sou to your 34-sou completes your hand, so you can ron on 5-sou.
You can ron on a discard from anyone: shimocha, toimen, or kamicha.
On a ron, the player who discarded that tile pays all the points alone.