Study of Major and Minor Pentatonic Scales