complete the calculation for two number