No, for Amy's level 1 event, you don't need 40 coins; you only need 5. 40 is the requirement for the average marks in the school, which here acts as an intelligence stat. To find out the current value, you need to talk to the teacher in the 1_1 class during the day. To increase this value, you must attend lessons through the study desk in the center of class 1_1 in the morning and afternoon.