\begin{equation} \begin{bmatrix} n & 0 & 0 & 0 \\ 0 & n & 0 & 0 \\ 0 & 0 & A & B \\ 0 & 0 & -1 & 0 \end{bmatrix} \begin{bmatrix} x \\ y \\ -f \\ 1 \\ \end{bmatrix} = \begin{bmatrix} nx \\ ny \\ -f \cdot f \\ f \\ \end{bmatrix} \sim \begin{bmatrix} \frac{nx}{f} \\ \frac{ny}{f} \\ -f \\ 1 \\ \end{bmatrix} \end{equation}\begin{equation} \begin{bmatrix} n & 0 & 0 & 0 \\ 0 & n & 0 & 0 \\ 0 & 0 & A & B \\ 0 & 0 & -1 & 0 \end{bmatrix} \begin{bmatrix} x \\ y \\ -n \\ 1 \\ \end{bmatrix} = \begin{bmatrix} nx \\ ny \\ -n \cdot n \\ n \\ \end{bmatrix} \sim \begin{bmatrix} x \\ y \\ -n \\ 1 \\ \end{bmatrix} \end{equation}