\documentclass[12pt]{article}
\thispagestyle{empty}
\usepackage{hyperref}
\usepackage{amsmath}
\begin{document}
\huge{
$T^2 = \frac{r^3 4 \pi^2}{\left(m_1+\left(\frac{m_1}{d_2}d_1\right)\right)G} $
}
\end{document}
