I did the maths. It seemed easy enough and it was.
Nonetheless, I was a bit surprised to find the relative speeds at impact were the speeds that the brick would achieve when traversing the passing point of the lifts, + or - the speed of the lift.
For some reason, I imagined the brick might take longer to catch the down-going lift and that its speed would be relatively high.
Nice one !