Hi, I’m assuming that A1 & A2 are the values that you want to increment. The reason you’re getting the final value as 12 for the true condition is because A1 is always set to 9.0 while A2 always gets assigned a value of 3.0. In order to increment these values, you’ll have to add the amount to be incremented to the existing value before setting it.
For example, in the first case, you Get A1, pass it through an Add node with the its second input pin set to 9.0, and connect the output to the Set A1 node. You can then A2 in a similar manner, but with the Add node taking in a 3.0 as the second input.