The graphs represent the functions \( f(x)=x^2 \), \( x\in[-2,0] \), \( g(x)=x^3\), \(x\in[-2,0] \) and \( h(x)=(-x)^3 \), \( x\in[-2,0] \).
Choose the legend which assigns the correct color of the graph to each of the given functions.
The graphs represent functions \( f(x)=x^3 \), \( x\in[0,1]\), \( g(x)=2x^3 \), \( x\in[0,1] \) and \( h(x)=x^4 \), \( x\in[0,1] \).
Choose the legend which assigns the correct color of the graph to each of the given functions.