showing student x info and degree y info