Find the value of:
p + q + 3r, when p = 1, q = 5, r = 2.
If a=2^p*3^q*5^r and b=p^2*q^3*r^5 , where p,q,r are primes,find the value of p+q+r, given that a=b.