Hi money made is $25x for selling x toys money spent is ($2x+1000) for making x toys P = $25x - ($2x+ $1000) P = $23x - $1000