Start with x = 0 and make Need table
it will not satisfy any process in first step
then set x=1
it will satisfy process D need but in second step it will not able satisfy any process need
set x=2
This value will satisfy need with sequence of Process D, C, B, A
Answer should be x=2