For a matrix A, type the following:
A(1,:) = A(1,:)*3;
A(2,:) = A(2,:)*4;
First of all, define matrix A of all the values equal to 1 using ones command.
Then type, A(1,:)=3 and A(2,:)=4 to get the desired matrix and find out it's determinant.