How many ways are the to arrange four disinct points in a plane such that there are exactly two distinct values for distances between pairs of points?