Yes. It’s worthwhile to be comfortable with prefix notation (which is the standard notation for functions in general, like f(x) or cos(a), in both math and programming).
One notable thing about prefix is it maps better to trees. The order is: parent child child child…
Infix ordering is: child parent child. Besides not working with other numbers of children besides two, it’s also out of order compared to the tree because the tree has the parent before the children.
Try making trees from the expressions you were just talking about and see if this makes sense. Also try making trees for:
5+3*2
(add 1 (multiply 8 4))
7*4-1
(multiply 6 (minus 5 3))