Need help on 3 homework two rewrite and one look up

need 2 rewrites and one lookup homework