
\documentclass{article}
\usepackage[body={8cm,8cm}]{geometry}
\usepackage{mathtools}
\usepackage{lmodern}
\pagestyle{empty}
\begin{document}
\[
\sqrt{y} + \sqrt{x} + \sqrt{\smash[b]{y}}
\]
\end{document}
