Determining if a given equation represents a proportion