Triangle Perimeters and Areas

Similar to the previous rectangle problem...
  1. Find the dimensions of all triangles that have area equal numerically to M times the perimeter, where all sides are whole numbers. (M=1,2,3,4,5)
  2. Repeat for perimeter equal to M times the area.
There are actually many solutions for the questions above, so try to find the triangles with the minimum perimeters. I'd be very interested to know of any formulas used by people to obtain their solutions.

Source: Extended from a puzzle submitted by Ravi Subramanian (where M=1).

Mail to Ken