ratio sample problems with solution and answer