“Given Punto = {6, 7}, write a function that extracts X and Y and calculates XX + YY.”
Exercise 4 of 10 from the Erlang programming practice. This exercise was performed on an Ubuntu EC2 instance in AWS Academy, using the Erlang interactive shell (erl). It demonstrates how to extract X and Y from a tuple using pattern matching and calculate XX + YY.