I am trying to make an if statement that only goes through when the green line is crossed by the black line or if the red line crosses the black line. Note that the green an