Three laws of planetary motion