Simultaneous equations with single solution

Problem 1. Heads and legs

From math.stackexchange.com

“One day a person went to a horse racing arena. Instead of counting the number of humans and horses, he counted 74 heads and 196 legs. How many humans and horses were there?”

Problem 2.

Problem 3.