A student's rectangular desk is 30 inches long and 18 inches wide. The teacher's desk is similar to the student's desk and has a length of 50 inches. What is the width of the teacher's desk?