Rule:
(5+
X
) × (5+
Y
) =
(
X
+
Y
)×10 + (5-
X
)×(5-
Y
)