Answer is B).
By taking one instance of R1 , P1 will fulfill its need of maximum R1
and By taking two instances of R3 , P1 will fulfill its need of maximum R3
Now , it needs two instances of R2 after which it can complete execution and release all of its resources,
hence it is in safe state .