设A为n阶方阵,A平方+3A-I=0,证明(A-I)可逆,并求其值