How could I vertically move the third line on the left upward so that it doesn't appear broken with the two lines above?
I'd like to obtain this.
I have used this code.
\documentclass{article}
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex \nobreak\hfill\penalty50\quad\hbox{}\hfill
$\left[\displaystyle{\frac{\frac{1}{2}}{3+4}}\right]$ \finalhyphendemerits=0 \parfillskip=0pt \par
\end{document}