Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
The sum of the ages of two friends, Alma and Melina, is twice the total number of points Alma scored in a test. If Melina is three times as old as Alma, and she is 60, calculate Alma's score in the test?

### Response:
If Melina is three times as old as Alma, and she is 60, Alma is 60/3 = <<60/3=20>>20 years old.
The sum of their ages is 60+20 = <<60+20=80>>80 years.
Since the sum of Alma and Melina's age is twice the total number of points Alma scored in a test, if Alma's score in the test was e, 80 = 2*e
If Alma's score in the test was e, 80 = 2*e
The score Alma would get e = 80/2 = <<80/2=40>>40
#### 40