Unused Argument Error in trapz ()

Here is an instruction on how to do the reprex: