In a class of 40 students, each student offers at least one of Physics and Chemistry. If the number of students that offer Physics is three times the number that offer both subjects and the number that offers Chemistry is twice the number that offer Physics, find the number of students that offer Physics only.