The line joining the points (2,-1) and (5,-6) is bisected at P. If P lies on the line 2x+4y+K=0, find the value of K