A 0.50kg particle moves along the x axis, and only one force acts on it. Its potential energy is 8.0J at x=0. The potential energy falls along a straight line to 0 at x=2.0m. Then it rises along a straight line to 12J at x=5.0m. The particle is released from rest at x=0. What is its speed at x=3.0m, and what is the largest value of x that it reaches?