How do I calculate field_1 + field_2 in Twig?
In {{ content }} are render arrays which produce the output "2" and "5", but you can't do arithmetics with these render arrays.

You can try to do this with the database values from the node (if it is a node template):

{{ node.field_1.value * node.field_2.value }}