Answer
a) $y=5x-30$
b) Please see the graph.; y-intercept = -30; x-intercept = 6
Work Step by Step
a) 30 spent, charge 5 per pet
$y=5x-30$
b)
$y=5x-30$
Let $x=0$
$y=5x-30$
$y=0*5-30$
$y=-30$
Let $y=0$
$y=5x-30$
$0 = 5x-30$
$30= 5x$
$30/5 = 5x/5$
$6=x$