Given the matrices A =(213-4) and B = (pqq-1-q) and C =(45-513) are such that AB = C.Find the values of p and q.