There are a couple of ways, you can use the constrain perpendicular tool or... for more flexibility when you are creating your line place a point and then right click and select either direction and length, or direction, or deflection and enter the appropriate numbers.