In my calculus class, we are going over these as a review, but I have completely forgotten how to do them and the teacher didn't really explain them since he assumed we knew them.

We are supposed to make several functions into split functions.

Y=5-|2x-10| and Y=2x^2-|x^2-9|

I have completely forgotten how to do these so if anybody could explain them that'd be great. I have to get these quickly.