Binding A^2 + 3B

Label lblSomething = new Label();
IntegerProperty A = new SimpleIntegerProperty();
IntegerProperty B = new SimpleIntegerProperty();

lblSomething.textProperty().bind(A.multiply(A).add(B.multiply(3)).asString());