Consider the given matricesA=(pr​qs​)X=(31​−4−1​)Ax=(pr​qs​)(31​−4−1​)=(3p+q3r+s​−4p−q−4r−s​)=B=(5−2​21​)Hence by comparing the elements of the matrices, we get3p+q=5−4p−q=2Solving for p and q, yieldsp=−7q=26Similarly3r+s=−2−4r−s=1r=1s=−5Hence matrix A is equal toA=(pr​qs​)=(−71​26−5​)