Functional style!
my
$x
=
3
;
my
$y
=
6
;
my
$sum
= add(
$x
,
$y
);
say
"
$x
+
$y
=
$sum
"
;
2 + 7 = 9