Answer
$T=2$
Work Step by Step
When we are presented with a function such as $cos(bx)$ and are asked to find the period, it is useful to make use of the following formula:
$\frac{2\pi}{T}=b$
The $T$ in the equation represents the period of the function, as in the amount of $x$ units before the function repeats itself.
In this question, we have $cos(\pi x)$. Thus, $\frac{2\pi}{\pi}=T=2$ . Keep in mind that the formula above allows us to easily swap the $T$ and the $b$ in the formula, thus, the period of this function is $2$.