Rational Equation Demonstration

Move x_1 to see where the reflection lands on the wall.

Can you find an equation that models the relationship between x_1 and y_1? Can you find a model if you alter h and/or a?