Find the value B, given that the line passing through the points (2,3) and (B,-1) is perpendicular to a line with slope 2.
A line passing through the points (a, 2a) and (-2, 3) is perpendicular to the line 4x+3y+5=0, find the value of a.