A reflection across the y = 1 consists:
T(x,y) => T'( x, 1 - (y - 1) )
then, for the given points, you obtain:
(-2,5) => (-2 , 1 - (5 - 1)) = (-2 , 1 - 4) = (-2 ,-3)
(-2,4) => (-2, 1 - (4 - 1)) = (-2 , 1 -3) = (-2 ,-2)
(-5,2) => (-5 , 1 - (2 -1)) = (-5, 1 - 1) = (-5 , 0)
Hence, the coordinates of point B' are (-2,-3)