A particle \(P\) is moving along the positive \(x\)-axis. At time \(t\) seconds, \(t \geqslant 0 , P\) is \(x\) metres from the origin \(O\) and is moving away from \(O\) with velocity \(v \mathrm {~m} \mathrm {~s} ^ { - 1 }\), where \(v = \frac { 4 } { ( x + 2 ) }\). When \(t = 0 , P\) is at \(O\). Find
the distance of \(P\) from \(O\) when \(t = 2\)
the magnitude and direction of the acceleration of \(P\) when \(t = 2\)