These are the text descriptions of the two theorems, but I'm a little bit lost as to how I would write these in quantifier notation.
(a) There exist infinitely many pairs of prime numbers of form p and p + 2. (Twin prime conjecture)
(b) There is no nonzero integer solution (x,y,z) for the equation x^n+y^n=z^n, where n is any integer bigger than 2. (Fermat's big theorem)
There exists infinitely many prime numbers $p$ such that $p+2$ is also prime:
$$\exists^\infty p\in\mathbb{P} ~~~~ p+2 \in \mathbb{P}$$
For all positive integers $n$ greater than $2$, there does not exist a positive integer triplet that satisfies $x^n + y^n = z^n$:
$$\forall n\in \mathbb{Z}^+, n > 2 ~~~~\not\exists(x, y, z) \in{\mathbb{Z}^+}^3~~~~x^n + y^n = z^n$$