Simplest way i can help you is to answer with a few tips, firstly subtract 8 away from the number in each one so for the 1st on subtract, 8 from 5 once you get that answer divide it by 2 as the (x) means its multiplied twice, that is for f, for g follow the same steps then divide f by 2 again hopefully this should work