In Prolog, calculate the test average -- weighting the midterm and averages should be rounded DOWN (use integral division)
given the following fu