well, it's in reply to, "what must we do, to do the works of God?" - - which is itself a reply to, "work for that which does not perish, instead of that which perishes"
so it is tacit, that "to do the works of God" means, to do what God requires - - how can they be asking, how do we do what God...