Solve for k, the constant of variation, in a direction variation problem where y = 240 and x = 30.