Find the value of x for which the numbers (5x + 2), (4x – 1) and (x + 2) are in AP.