This is very easy and simple once you understand it.
Whenever you have to find the slope of a perpendicular line, you just need to remember that the equation has opposite reciprocals.
That means that the answer is going to be: y = -1/2x + 5
Hope this helped!