(Note: the perspective offered in this response is surely more than what is expected from the OP's homework problem. This answer is instead for those interested in a more rigorous approach.)
As was correctly indicated in the question statement, the following integral is indeed equal to $\frac12\pi$:
$$I=\int_{0}^{1/2}\frac{4\,\mathrm{d}t}{1+4t^2}=\frac12\pi.$$
We'd like to rigorously prove that $I=\frac12\pi$, and in order to do so we should first adopt a rigorous definition of $\pi$ (preferably defined as an integral). I prefer to define $\pi$ by the integral,
$$\pi:=\int_{-1}^{1}\frac{\mathrm{d}x}{\sqrt{1-x^2}},$$
because this integral represents the circumference-to-diameter ratio of a unit circle.
Rescaling the integral by the substitution $u=2t$, the integral becomes:
$$\begin{align}
I
&=\int_{0}^{1/2}\frac{4\,\mathrm{d}t}{1+4t^2}\\
&=2\int_{0}^{1/2}\frac{2\,\mathrm{d}t}{1+(2t)^2}\\
&=2\int_{0}^{1}\frac{\mathrm{d}u}{1+u^2}.
\end{align}$$
Using the reciprocal substitution $w=\frac{1}{u}$, we see that the integral from $0$ to $1$ of $\frac{1}{1+u^2}$ also equals the integral from $1$ to $\infty$ of $\frac{1}{1+u^2}$:
$$\begin{align}
\int_{0}^{1}\frac{\mathrm{d}u}{1+u^2}
&=\int_{\infty}^{1}\frac{\frac{(-1)}{w^2}\mathrm{d}w}{1+\left(\frac{1}{w}\right)^2}\\
&=\int_{1}^{\infty}\frac{\frac{1}{w^2}\mathrm{d}w}{1+\frac{1}{w^2}}\\
&=\int_{1}^{\infty}\frac{\mathrm{d}w}{w^2+1}\\
&=\int_{1}^{\infty}\frac{\mathrm{d}u}{1+u^2}.
\end{align}$$
Hence,
$$\begin{align}
I
&=2\int_{0}^{1}\frac{\mathrm{d}u}{1+u^2}\\
&=\int_{0}^{1}\frac{\mathrm{d}u}{1+u^2}+\int_{0}^{1}\frac{\mathrm{d}u}{1+u^2}
\\
&=\int_{0}^{1}\frac{\mathrm{d}u}{1+u^2}+\int_{1}^{\infty}\frac{\mathrm{d}u}{1+u^2}\\
&=\int_{0}^{\infty}\frac{\mathrm{d}u}{1+u^2}\\
&=\frac12\int_{-\infty}^{\infty}\frac{\mathrm{d}u}{1+u^2}.
\end{align}$$
Finally, using the substitution $u=\frac{x}{\sqrt{1-x^2}}$, the integral becomes:
$$\begin{align}
I
&=\frac12\int_{-\infty}^{\infty}\frac{\mathrm{d}u}{1+u^2}\\
&=\frac12\int_{-1}^{1}\frac{\mathrm{d}x}{\sqrt{1-x^2}}\\
&=\frac12\pi.
\end{align}$$