Even though it's obviously a rhetorical question in the English, using that rhetorical question form weakens it a little. Japanese use the so-called "rhetorical" question form a lot more than we do in English so it's probably more natural to translate it without a question form. It's more of an emphasizer.
To me the first one sounds like "wow, [he] hit the nail on the head!". The second one is like " hit the nail on the head! What do you have to say about that, huh?" or "[he] hit the nail on the head! Why didn't you tell us you were so smart!"
The "yo" here is a kind of confrontational emphasizer, like someone was disagreeing with you, or there was something they didn't tell you which you now realize.