How to find the intervals on which the following function is a)increasing b)decreasing c)concave up d)concave down.

y = 2x, x < 1
2 - x^2, x >= 1

Thank you.