int x = rand(1,5); int y = rand(2,10); int z = x + 2*y;