No need to memorize square roots here. Simply square both sides and it’s clear that 50 < 52.
If x^2 < y^2 then x < y (ignoring negative numbers…).
More generally, these types of “math tricks” are about solving for the answer. Not solving for the parts of the question. It’s a great lessom for life, especially working in software.