State Boyle's law and Charle's law of gases from the relation