Among three numbers, the first is twice the second and thrice the third, If the average of three numbers is 517, then what is the difference between the first and the third number?
Triangle PQR is inscribed in a circle such that P, Q and R lie on the circumference. If PQ is the diameter of the circle and ∠PQR = 40°, then what is the value (in degrees) of ∠QPR?