Produces a fraction ad where a is parameter 1 & d is parameter 4۔