How To Solve A Problem With Two Variables