If y varies directly as x and y = -24 when x = 8, then how do you find y when x = 10?