GATE 2016 EE SET 2 Question 23

V_{out}=IR+V=(5)(2)+10=10+10=20V