To find the equation, we first need to find the slope. Since the original line has a slope of 2 and all perpendicular lines have opposite and reciprocal slopes, we know the new line to have a slope of -1/2.
Now we use that along with the given point in point-slope form.
Talking as if the balls do not get put back into the bag, the first probability is 3/10 for yellow. For red it will be 7/9 because there is one less ball (yellow) in the bag.