If you use the Pythagorean Therom formula, A^2 + B^2 = C^2 (^2 being an exponent), then the equation would be 30^2 + 18^2 = x^2 (x being the slope or the hypotenuse). Therefore, the answer would be x = 35 (rounded). If you are looking for a more accurate answer type the square root of 1224 into a calculator.