$\displaystyle \begin{array}{{>{\displaystyle}l}} gọi\ ptdt\ cần\ tìm\ là\ ( d) :y=ax+b\ \\ Vì\ d\ cắt\ trục\ tung\ tại\ tung\ độ\ bằng\ 4\\ Do\ đó\ :\ x=0;y=4\ \\ \rightarrow ( d) :4=b\ \\ Vì\ d\ cắt\ trục\ hoành\ tại\ hoành\ độ\ bằng\ -4\\ \rightarrow x=-4;y=0\\ Do\ đó\ :\ y=-4a+b\ \\ \rightarrow \begin{cases} b=4 & \\ y=-4a+b & \end{cases}\rightarrow \begin{cases} b=4 & \\ a=1 & \end{cases} \ \\ Vậy\ pttd\ ( d) :y=x+4\\ b) \ Gọi\ ptdt\ cần\ tìm\ là\ d':y=ax+b\ \\ Vì\ d\ đi\ qua\ A( 1;5) \ và\ B( -1;3) \ nên\ :\ \\ \begin{cases} 5=a+b & \\ 3=-a+b & \end{cases}\rightarrow \begin{cases} a=1 & \\ b=4 & \end{cases} \ \\ Vậy\ ptdt\ d':y=x+4 \end{array}$