A sum of Rs.750 is in the form of denominations of Rs.50 and Rs.100. If the number of 100-rupee notes is twice the number of 50-rupee notes, find the number of notes of each denomination.