the slope of y = 3x is 3, and the slope of y = -3x is well, yes, you guessed it, is -3, same value, just different sign, and when that happens the slopes are just mirroring each other, in this case, the mirror line, line of symmetry, is the y-axis, notice in the picture below.