how do i find the local extrema for this graph.

f(x)= x(e^x)

f'(x) = x(e^x) + e^x

= e^x(x+1)
= 0 for a max/min of f(x)
so e^x = 0 ----> no solution OR
x+1 = 0
x = -1
f(-1) = -e^-1 = -1/e

I will let you decide if it a max or a min