The length of a television set is 18 inches and its diagonal is 30 inches. Find the width of the television set.

idk

width^2 = diagonal^2 - length^2