a man has some hens and cows . if the number of heads be 50 and the number of feet equals 140 , then the number of hens will be :
"let hens be x and cows be y now , feet : x * 2 + y * 4 = 140 heads : x * 1 + y * 1 = 50 implies , 2 x + 4 y = 140 and x + y = 50 solving these two equations , we get x = 30 and y = 20 therefore , hens are 26 . answer : d"
divide(subtract(multiply(50, const_4), 140), const_2)