Anthony's bedroom and bathroom are both rectangular and have a combined area of 240 square feet. His bathroom has a length of 6 feet.

If the width of each room is 10 feet, what is the length of Anthony's bedroom?