 HP Inc. executives announced plans to cut roughly 10 of their workforce in the coming years while issuing weaker-than expected earnings guidance Tuesday, with the computer makers chief executive citing a volatile macro-environment and softening demand in the second half with a slowdown on the commercial side. 