First you divide the numerator and the denominator by 10, it leaves you with 1500/21 , now you again divide the numerator and denominator by 3 and you get 500/7.
Remember, you ought to divide the numerator and the denominator only by the numbers which are their common factors or in a more easier way, you only divide them by a number which divides them both simultaneously.