Find the 2 x 2 matrix that represents a reflection in the line y = xtanalpha followed by a reflection in the line y = xtanbeta, where alpha, beta are constants. What is the linear map represented by this matrix?

I dont know what to do. I can only see that tanalpha = y/x and tanbeta = y/x therefore tanalpha = tanbeta, but this doesnt help.