In that question the NEED on calculating comes out to be (8,4,2), (3,0,0), (1,2,2) for processes P0,P1,P2 respectively.
And the available is given (3,2,2)
According to resouce request algorithm:
Request <= Need
Request < Available
which only request 2 satisfies.