The following slide is part of a lecture on computer graphics, where the author is explaining the pinhole camera model:
I don't understand what "trigonometry" the author is referring to here. It seems like the author just defines the coordinates as to define the equations $\dfrac{x_p}{z_p} = \dfrac{x}{z}$, $\dfrac{y_p}{z_p} = \dfrac{y}{z}$, and $z_p = - d$ – no trigonometry involved.
I was wondering if people would please take the time to clarify what "trigonometry" the author is referring to, and then explain the derivation of these equations.

There’s no “trigonometry,” as the term is commonly understood, directly involved here. However, the root meaning of the word is “measuring triangles,” so in that very loose sense once could say that trigonometry is used.
The equations are derived via a straightforward application of similarity: the two triangles in the right-hand diagram with hypotenuses defined by the ray are obviously similar.