Motel 6 and Studio 6 have been sold to OYO for $525 million, and the transaction is set to complete by the end of 2024.