As one equation per problem only! No double equation per problem. So pls help!

Write an absolute value equation that satisfies the following condition.


A)The equation has two solutions: x=−5, and x=1.


B)The equation has only one solution: x=−17.