Let's draw a rough drawing of what's needed to be solved.
x is the pitch of the roof and we need to solve for x.
This is a right triangle so we can use the Pythgaorean Theorem to solve it.
It states that in a right triangle, the Sum of the Squares of its legs is equal to the square of its Hypotenuse.
The hypotenuse is x
The legs are 16 and 14
Thus, we can write: