Sorry if this is the wrong sub-forum to post this on, can a admin move if wrong?

need some help with this system of equations

find the value of the parameters a and p for which the system

x + 5y = 6,

6y + az = a + 1 - p,

x - ay + z = p + 2

i. unique solution

ii. infinitly many solutions

iii. no solutions