Project 18: (General Case) Rectangle Ratio