PLEASE HELP ASAP

IM ONLY ASKING ABOUT QUESTION 5, d),e) and f)

How do I write them like this |x-a| Please show your work

PLEASE HELP ASAP IM ONLY ASKING ABOUT QUESTION 5 de and f How do I write them like this xa Please show your work class=