Solve for a. Round to the nearest tenth, if necessary.
18 is to 12 as 12 is to a+5
18/12 = 12 / (a+5)
a+5 = 12 * 12/18 = 8
a = 3