Solving for variables in equivalent fractions