fgx=(fx)g-(fx)gxx.