Part of 2012 AMC 10
Source: 2012 AMC 12A Problem #6 and AMC 10A Problem #8
Source: 2012 AMC10B Problem #8