<image> A student calculated according to the program shown in Figure ① and then drew the function graph of y with respect to x as shown in Figure ②.
(1) When 0≤x≤3, the function relation between y and x is ____;
(2) When x>3, find the function relation between y and x.