a and b just serve to denote force components. Their units are the same as the weight.
Since the weight is 1 unit acting straight down, and the vertical (downward) component on the blue rope's first section is denoted as b, then the green rope must counteract these too forces and have an upward...