Finding Fractions given Certain Conditions