The sentences do no have any mistakes but an edit I would suggest for the second sentence is,”Depending on the traffic, I am able to arrive to university on time by deciding whether or not to leave early.” The reason I suggest this is to avoid starting a sentence with ‘I’ and to make it flow better. Otherwise you’re good! Hope I helped! :)