find the domain & range of each relation & identify any relations that define functions

y=3(x+1)^2-5