Need help in plotting graph of velocity (ux) vs time

What did you write and what is not working?