DETROIT (AP) — Electric car maker Tesla Motors has posted its first quarterly profit in three years. Tesla reported net income of $22 million, or 14 cents per share, in the third quarter, up from a loss of $229 million in the July-September period a year ago. Revenue more than doubled to $2.3 billion. Tesla last made a profit in the first quarter of 2013. The results surprised Wall Street, which forecast a loss of 86 cents, according to analysts polled by FactSet.