First pig went to market; Second pig stayed at home; Third pig had roast beef; And fourth pig had none;…