The dx becomes (dx/dt)*dt so you end up integrating with respect to t.
One caution here though, is that you cant just throw a solution at it and expect it to work every time. The catch is that if the curve goes below zero you'll end up with the net area instead of the total area. The best bet is to graph the function and see what you can spot, and evaluating the end points.