General Solution of a Second-Order Nonhomogenous Linear Difference Equation with Noncommutative Coefficients