How do I move my object a certain distance along the x axis when clicked on?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Blue_car_moving : MonoBehaviour {



    // Use this for initialization
    void Start () {
	}
	
	// Update is called once per frame
	void Update () {

    }

    void OnMouseDown() { 

        transform.Translate(transform.position.x - 2, transform.position.y, transform.position.z);

    }

}

Hi @FiredJungle try something like this:

  void OnMouseDown() { 
           transform.Translate(Vector3.right);
     }

By default distance is 1. You can multiply that vector to get bigger values for example Vector3.right * 15f