Dawn, Keith, and John are all working on a history project. Dawn spent 1.2 hours less than 6 times as many hours on the project as John did. Keith spent 0.8 hours more than 5 times as many hours on the project as John did. If Dawn and Keith spent the same amount of time working on the project, how many hours did John spend working on the project?