P is the output of the inputs signal A and B operating on a NOR gate. Then the signal P (A' and B') acts as input signal for the second NOR gate to give the output Y.
Thus writing truth table for each step gives the table as shown above which resembles the truth table of an OR gate for input signal A and B whereas the Y as the output signal.
Video Explanation
Solve any question of Semiconductor Electronics: Materials, Devices And Simple Circuits with:-