Produces a fraction a/d where a is parameter 1 & d is parameter 4.