Let $B$ be the reflection of $A$ over the line $y = \frac{1}{2} x + 2$. Find the coordinates of $B$ if $A = (5,-1)$.