If we take any two lines from each of the set a parallelogram will be formed. Hoping that you know the concept of permutations and combination i would like to give the solution of it.
4C2 x 7C2 = 6 x 21 = 126
parallelograms will be formed
care on learning