Malaysia's economy expanded at an annual rate of 7.1 percent in the first quarter of 2008, and faces only a modest slowdown later in the year.