the first three terms of an arithmetic sequence are (12-p), 2p, (4p-5) respectively where p is a constant.Find the value of p