two properties to be used
1)consecutive angles of parallelogram are supplementary (ie in above eg p+q $=180$)
2)angles forming linear pair are supplementary(p+r $= 180$)
so we can find q if r is given
and also we can find q,r if p is given
so q+r can be easily found out if either p or r is given
so ans is d