if 7 times a number is subtracted from the square of the number ,if the result is 30 .find the number

x^2-7x = 30