At the top, the function definition should read:

    void drawCar(int x, int y, int thesize, color c)  {

not:

    void drawcar(int x, int y, int thesize, color c)  {

Processing is case-sensitive. Note the capital C!